package com.neusoft.elm.dao;

import java.util.List;

import com.neusoft.elm.po.Business;

public interface BusinessDao {
	
	public List<Business> listBusiness(String businessName,String businessAddress);
	public int[] addBusiness(List<String> businessNames);
	public int removeBusiness(List<Integer> businessIds);
	public int countBusiness();
    
	public Business getBusinessByIdByPass(Integer businessId,String password);
	public Business getBusinessById(Integer businessId);
	public int updateBusiness(Business business);
	public int updateBusinessPassword(Integer businessId,String password);
}
